package com.project.core.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author mengxj
 */
@ApiModel("登录参数")
@Data
public class LoginDTO {

    @ApiModelProperty("登录id")
    @NotEmpty(message = "登录id 不能为空")
    private String loginId;

    @ApiModelProperty("密码")
    @NotEmpty(message = "密码 id不能为空")
    private String password;
}
